package com.aptech.jboa.pojo;

import java.util.HashSet;
import java.util.Set;


/**
 * Userinfo entity. @author MyEclipse Persistence Tools
 */

public class Userinfo  implements java.io.Serializable {


    // Fields    

     private Long id;
     private Positioninfo positioninfo;
     private Departmentinfo departmentinfo;
     private String name;
     private String password;
     private String sex;
     private Integer age;
     private Long leadingnumber;
     private String phone;
     private String address;
     private Set emailsForToUserinfOid = new HashSet(0);
     private Set vouchersForCreateUserinfoId = new HashSet(0);
     private Set notices = new HashSet(0);
     private Set checkresults = new HashSet(0);
     private Set departmentinfos = new HashSet(0);
     private Set worktimes = new HashSet(0);
     private Set vouchersForNextdealby = new HashSet(0);
     private Set userRoles = new HashSet(0);
     private Set emailsForFromUserinfoId = new HashSet(0);


    // Constructors

    /** default constructor */
    public Userinfo() {
    }

    
    /** full constructor */
    public Userinfo(Positioninfo positioninfo, Departmentinfo departmentinfo, String name, String password, String sex, Integer age, Long leadingnumber, String phone, String address, Set emailsForToUserinfOid, Set vouchersForCreateUserinfoId, Set notices, Set checkresults, Set departmentinfos, Set worktimes, Set vouchersForNextdealby, Set userRoles, Set emailsForFromUserinfoId) {
        this.positioninfo = positioninfo;
        this.departmentinfo = departmentinfo;
        this.name = name;
        this.password = password;
        this.sex = sex;
        this.age = age;
        this.leadingnumber = leadingnumber;
        this.phone = phone;
        this.address = address;
        this.emailsForToUserinfOid = emailsForToUserinfOid;
        this.vouchersForCreateUserinfoId = vouchersForCreateUserinfoId;
        this.notices = notices;
        this.checkresults = checkresults;
        this.departmentinfos = departmentinfos;
        this.worktimes = worktimes;
        this.vouchersForNextdealby = vouchersForNextdealby;
        this.userRoles = userRoles;
        this.emailsForFromUserinfoId = emailsForFromUserinfoId;
    }

   
    // Property accessors

    public Long getId() {
        return this.id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }

    public Positioninfo getPositioninfo() {
        return this.positioninfo;
    }
    
    public void setPositioninfo(Positioninfo positioninfo) {
        this.positioninfo = positioninfo;
    }

    public Departmentinfo getDepartmentinfo() {
        return this.departmentinfo;
    }
    
    public void setDepartmentinfo(Departmentinfo departmentinfo) {
        this.departmentinfo = departmentinfo;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return this.password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }

    public String getSex() {
        return this.sex;
    }
    
    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return this.age;
    }
    
    public void setAge(Integer age) {
        this.age = age;
    }

    public Long getLeadingnumber() {
        return this.leadingnumber;
    }
    
    public void setLeadingnumber(Long leadingnumber) {
        this.leadingnumber = leadingnumber;
    }

    public String getPhone() {
        return this.phone;
    }
    
    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return this.address;
    }
    
    public void setAddress(String address) {
        this.address = address;
    }

    public Set getEmailsForToUserinfOid() {
        return this.emailsForToUserinfOid;
    }
    
    public void setEmailsForToUserinfOid(Set emailsForToUserinfOid) {
        this.emailsForToUserinfOid = emailsForToUserinfOid;
    }

    public Set getVouchersForCreateUserinfoId() {
        return this.vouchersForCreateUserinfoId;
    }
    
    public void setVouchersForCreateUserinfoId(Set vouchersForCreateUserinfoId) {
        this.vouchersForCreateUserinfoId = vouchersForCreateUserinfoId;
    }

    public Set getNotices() {
        return this.notices;
    }
    
    public void setNotices(Set notices) {
        this.notices = notices;
    }

    public Set getCheckresults() {
        return this.checkresults;
    }
    
    public void setCheckresults(Set checkresults) {
        this.checkresults = checkresults;
    }

    public Set getDepartmentinfos() {
        return this.departmentinfos;
    }
    
    public void setDepartmentinfos(Set departmentinfos) {
        this.departmentinfos = departmentinfos;
    }

    public Set getWorktimes() {
        return this.worktimes;
    }
    
    public void setWorktimes(Set worktimes) {
        this.worktimes = worktimes;
    }

    public Set getVouchersForNextdealby() {
        return this.vouchersForNextdealby;
    }
    
    public void setVouchersForNextdealby(Set vouchersForNextdealby) {
        this.vouchersForNextdealby = vouchersForNextdealby;
    }

    public Set getUserRoles() {
        return this.userRoles;
    }
    
    public void setUserRoles(Set userRoles) {
        this.userRoles = userRoles;
    }

    public Set getEmailsForFromUserinfoId() {
        return this.emailsForFromUserinfoId;
    }
    
    public void setEmailsForFromUserinfoId(Set emailsForFromUserinfoId) {
        this.emailsForFromUserinfoId = emailsForFromUserinfoId;
    }
   








}